class Bird:
    def __init__(self,name):
        self.name = name
        self.name = name
    def talk(self):
        if self.name == '小小鸟':
            print(f'我是一只{self.name},我想飞却怎么也飞不高')
        if self.name == '愤怒的小鸟':
            print(f'我是一只{self.name},我现在十分愤怒!')


bird1 = Bird('小小鸟')
bird1.talk()

bird2 = Bird('愤怒的小鸟')
bird2.talk()